树图

配置项


        zlevel: 0, // canvas层级
        z: 1, // 同一层canvas内层级

        orient: 'horizontal', // {String} 树图中 正交布局 的方向 horizontal || vertical
        treeType: 'tree', // {String} 树状图与集群图 tree || cluster
        layout: 'orthogonal', // {String} 树图的布局,有 正交 和 径向 两种 orthogonal || radial
        radial: '50%', // {String|Number} 径向布局半径
        startAngle: 0, // {Number} 径向布局起始角度
        endAngle: 360, // {Number}径向布局结束角度
        gap: 10, // {Number} 节点与标签间隔
        initialTreeDepth: 2, // {Number} 树图初始展开的层级(深度)。
        expandAndCollapse: true, // {Boolean} 子树折叠和展开的交互,默认打开 。
        separation: undefined // {Function }设置间隔访问器